import { DATA_TYPE_LABEL } from '@/components/Custom/CommonDialog/Constant'

export default {
  data() {
    return {
      cancelOrderDialogVisible: false,
      cancelOrderDialogConfig: {
        dialogProps: {
          title: '订单作废',
          width: '500px'
        },
        formItemList: [
          {
            label: '订单编号',
            prop: 'goodsOptCode',
            type: DATA_TYPE_LABEL
            // defaultValue: (curItem) => {
            //   return curItem.goodsOptCode || ''
            // }
          }
        ]
      },
      cancelOrderRuleForm: {
        remark: '',
        status: ''
      }
    }
  }
}
